/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entry;

import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.swing.JOptionPane;

/**
 *
 * @author Straight
 */
public class Surat {

    private String noSurat;
    private String perihal;
    private java.sql.Date tanggalSurat;
    private java.sql.Date tanggalTerima;
    private String pengirim;
    private String Penerima;

    /**
     * @return the noSurat
     */
    public String getNoSurat() {
        return noSurat;
    }

    /**
     * @param noSurat the noSurat to set
     */
    public void setNoSurat(String noSurat) {
        this.noSurat = noSurat;
    }

    /**
     * @return the perihal
     */
    public String getPerihal() {
        return perihal;
    }

    /**
     * @param perihal the perihal to set
     */
    public void setPerihal(String perihal) {
        this.perihal = perihal;
    }

    /**
     * @return the tanggalSurat
     */
    public java.sql.Date getTanggalSurat() {
        return tanggalSurat;
    }

    /**
     * @param tanggalSurat the tanggalSurat to set
     */
    public void setTanggalSurat(java.sql.Date tanggalSurat) {
        this.tanggalSurat = tanggalSurat;
    }

    /**
     * @return the tanggalTerima
     */
    public java.sql.Date getTanggalTerima() {
        return tanggalTerima;
    }

    /**
     * @param tanggalTerima the tanggalTerima to set
     */
    public void setTanggalTerima(java.sql.Date tanggalTerima) {
        this.tanggalTerima = tanggalTerima;
    }

    /**
     * @return the pengirim
     */
    public String getPengirim() {
        return pengirim;
    }

    /**
     * @param pengirim the pengirim to set
     */
    public void setPengirim(String pengirim) {
        this.pengirim = pengirim;
    }

    /**
     * @return the Penerima
     */
    public String getPenerima() {
        return Penerima;
    }

    /**
     * @param Penerima the Penerima to set
     */
    public void setPenerima(String Penerima) {
        this.Penerima = Penerima;
    }

}
